﻿#region Copyright Info

// 
// Majesty of Omega - The next evolution of macro management space strategy
// 
// Copyright 2007-2009 André Claaßen
// 
// This file is protected by the terms and conditions of the
// Microsoft Community License (Ms-CL 1.1), a copy of which should
// have been distributed along with this software. If not,
// you may find the license information at the following URL:
// 
// http://www.microsoft.com/resources/sharedsource/licensingbasics/communitylicense.mspx

#endregion

#region

using Majesty_of_Omega.Model.Space;
using Majesty_of_Omega.Model.Game;

#endregion

namespace Majesty_of_Omega.GUI.Controller
{
    /// <summary>
    /// Controller for the system screen
    /// </summary>
    public class StarSystemPageController : InGameController
    {
        /// <summary>
        /// Gets the star
        /// </summary>
        /// <value>The star.</value>
        public Star Star
        {
            get { return _star; }
        }

        /// <summary>
        /// the central star of the star system
        /// </summary>
        private readonly Star _star;

        /// <summary>
        /// Initializes a new instance of the <see cref="StarSystemPageController"/> class.
        /// </summary>
        /// <param name="star">The star.</param>
        /// <param name="saveGame">A saved game</param>
        public StarSystemPageController(Star star, SaveGame saveGame) : base(saveGame)
        {
            _star = star;
        }
    }
}